package com.gupao.jly521.adapter;

import com.gupao.jly521.adapter.bean.Member;
import com.gupao.jly521.adapter.bean.ResultMsg;
import com.gupao.jly521.adapter.service.SignService;
import com.gupao.jly521.adapter.service.SignserviceEx;

/**
 * @author Jly
 * @date 2018/9/4  9:08
 */
public class Main {

    public static void main(String[] args) {
        SignService service = new SignserviceEx();
        ResultMsg msgObj = service.login("小明","ppp");
        Member member =(Member)msgObj.getObj();
        System.out.println(msgObj.getCode()+"---"+msgObj.getMsg()+"---"+member.getName()+":"+member.getPwd());
    }
}
